﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="OrdenVentaEditLightForm.aspx.cs" Inherits="UILGestion.VentaAdmin.OrdenVenta.OrdenVentaEditLightForm" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<%@ Register assembly="WebLib" namespace="WebLib" tagprefix="lib" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <script src="../../Scripts/OrdenVenta.js" type="text/javascript"></script>
    <link href="../../css/main.css" rel="stylesheet" type="text/css" />
 <link rel="stylesheet" type="text/css" href="../../estilos/_common/styles/fonts.css" />
 <link rel="stylesheet" type="text/css" href="../../estilos/_common/styles/global.css" />
 <link rel="stylesheet" type="text/css" href="../../estilos/_common/styles/theme.css" />
    &nbsp;</head>
    
    <body>
    
    
    <form id="form1" runat="server">
    <input id="UIItem" type="hidden" runat="server" />
    <asp:ToolkitScriptManager ID="ToolkitScriptManager2" runat="server" 
      EnableScriptGlobalization="true"  
     EnablePartialRendering="true" />
     <table class="ui-accordion">
        <tr>
                                            <td align="right" width="80PX">
                                                DOCUMENTO:</td>
                                            <td width="180PX">
                                             
                                                <asp:RadioButtonList ID="CheckBoxList1" runat="server">
                                                    <asp:ListItem Value="0">Proforma</asp:ListItem>
                                                    <asp:ListItem Value="1">Orden Venta</asp:ListItem>
                                                </asp:RadioButtonList>
                                             
                                                
                                             
                                            </td>
        </tr>
       
        <tr>
                                            <td align="right" width="80PX">
                                                Nombres: </td>
                                            <td width="180PX">
                                             
                                                <asp:TextBox ID="nombreTXT" runat="server" Width="180px" 
                                                    TabIndex="2"></asp:TextBox>
                                             
                                            </td>
        </tr>
       
        <tr>
                                            <td align="right" width="80PX">
                                                Apellidos:</td>
                                            <td width="180PX">
                                                <asp:TextBox ID="apellidoTXT" runat="server"  
                                                    Width="180px" TabIndex="3"></asp:TextBox>
                                            </td>
        </tr>
       
        <tr>
                                            <td align="right" width="80PX">
                                                DNI:</td>
                                            <td width="180PX">
                                                <asp:TextBox ID="dniTXT" runat="server" Width="150px" 
                                                    TabIndex="4"></asp:TextBox>
                                            </td>
        </tr>
       
        <tr>
                                            <td align="right" class="style2" width="80PX">
                                                Email:</td>
                                            <td class="style2" width="180PX">
                                                <asp:TextBox ID="correoElectronicoTXT" runat="server" 
                                                    TabIndex="5" Width="180px"></asp:TextBox>
                                            </td>
        </tr>
       
        <tr>
             <td align="right" class="style2" width="80PX">
                 Telefono:</td>
             <td class="style2" width="180PX">
                 <asp:TextBox ID="telefonoTXT" runat="server" TabIndex="6" Width="150px"></asp:TextBox>
             </td>
        </tr>
       
        <tr>
             <td align="right" class="style2" width="80PX">
                 Dirección:</td>
             <td class="style2" width="180PX">
                 <asp:TextBox ID="direccionTXT" runat="server" TabIndex="7" Width="180px"></asp:TextBox>
             </td>
        </tr>
       
        <tr>
            <td>
                                                 Propietario:</td>
            <td>
                                                <lib:Input ID="clienteTXT" runat="server" 
                                            DataType="List"  backcolor="#DFE8F6"  method="GetCliente" 
                                                     NumColum="2" 
                                                     
                                                     
                                                      Width="250px" 
                    TabIndex="2"></lib:Input>
                                                 </td>
        </tr>
       
        <tr>
            <td>
                                                 Formato Venta:</td>
            <td>
                                                 <asp:DropDownList ID="formatoVentaDDL" 
                                                     runat="server"  AutoPostBack="true"
                                                     onselectedindexchanged="formatoVentaDDL_SelectedIndexChanged" 
                                                     Width="250px" TabIndex="5">
                                                 </asp:DropDownList>
                                             </td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td>
                <asp:UpdatePanel ID="bancoUPNL" runat="server" UpdateMode="Conditional">
                    <ContentTemplate>
                        <asp:Panel ID="bancoPNL" runat="server">
                            <table>
                                <tr>
                                    <td align="right" width="60px">
                                        Banco:</td>
                                    <td>
                                        <asp:DropDownList ID="bancoDDL" runat="server" TabIndex="6" Width="180px">
                                        </asp:DropDownList>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        &nbsp;</td>
                                    <td>
                                        Cuenta Ahorro:<asp:CheckBox ID="cuentaAhorroCHK" runat="server" TabIndex="7" />
                                    </td>
                                </tr>
                            </table>
                        </asp:Panel>
                    </ContentTemplate>
                    <Triggers>
                        <asp:AsyncPostBackTrigger ControlID="formatoVentaDDL" />
                    </Triggers>
                </asp:UpdatePanel>
            </td>
        </tr>
        <tr>
            <td>
                Unidad Inmoviliaria</td>
            <td>
                            <lib:Input ID="totalSeparacionTXT0" runat="server" DataType="Double" 
                                Width="150px" TabIndex="9"></lib:Input>
            </td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td>
                <asp:UpdatePanel ID="totalUPNL" runat="server" UpdateMode="Conditional">
                    <ContentTemplate>
                        <table>
                            <tr>
                                <td>
                                    &nbsp;</td>
                            </tr>
                            <tr>
                                <td>
                                    <table class="PanelTotales">
                                        <tr>
                                            <td align="right">
                                                Total:</td>
                                            <td align="right" width="120px">
                                                <asp:Label ID="totalLabel" runat="server"></asp:Label>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td align="right">
                                                &nbsp;</td>
                                            <td align="right" valign="100px">
                                                            <br />
                                                        </td>
                                        </tr>
                                        <tr>
                                            <td align="right">
                                                &nbsp;</td>
                                            <td align="right" valign="100px">
                                                &nbsp;</td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                        </table>
                    </ContentTemplate>
                </asp:UpdatePanel>
            </td>
        </tr>
        <tr>
            <td>
                            Total Separacion:</td>
            <td>
                            <lib:Input ID="totalSeparacionTXT" runat="server" DataType="Double" 
                                Width="150px" TabIndex="9"></lib:Input>
                        </td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td>
                <asp:Button ID="Button1" runat="server" Text="Proforma" />
                <asp:Button ID="Button2" runat="server" Text="Orden Venta" />
            </td>
        </tr>
    </table>
    </form>




</body>
</html>
